<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
$CI = &get_instance();
$CI->load->helper("html");
$CI->load->helper("auth");
?>

    <head>
        <?php echo meta("Content-Type","text/html; charset=utf-8","equiv");?>
        <!--<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />-->
	<title>Compras da Construção :: <?php echo $titulo; ?></title>
       <script type="text/javascript" src="<?php echo base_url(); ?>js/jquery-1.4.2.js"></script>
       <script type="text/javascript" src="<?php echo base_url(); ?>js/jquery-ui-1.8.16.custom.min.js"></script>
       <script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.maskedinput-1.3.min.js"></script>
        	<!--<link rel="stylesheet" href="css/style.css" type="text/css" media="all" charset="utf-8" />
		<link rel="stylesheet" href="css/MenuMatic.css" type="text/css" media="screen" charset="utf-8" />
        	<link rel="stylesheet" href="css/compras.css" type="text/css" media="screen" charset="utf-8" />
                -->
                <?php $link = array('rel'=>"stylesheet",'href'=>site_url("css/style.css"), 'type'=>"text/css", 'media'=>"all", 'charset'=>"utf-8"); echo link_tag($link);?>
        	<?php $link = array('rel'=>"stylesheet",'href'=>site_url("css/MenuMatic.css"), 'type'=>"text/css", 'media'=>"screen", 'charset'=>"utf-8"); echo link_tag($link);?>
        	<?php $link = array('rel'=>"stylesheet",'href'=>site_url("css/compras.css"), 'type'=>"text/css", 'media'=>"screen", 'charset'=>"utf-8"); echo link_tag($link);?>
        	<?php $link = array('rel'=>"stylesheet",'href'=>site_url("css/custom-theme/jquery-ui-1.8.16.custom.css"), 'type'=>"text/css", 'media'=>"screen", 'charset'=>"utf-8"); echo link_tag($link);?>
		
		<!--[if lt IE 7]>
			<link rel="stylesheet" href="css/MenuMatic-ie6.css" type="text/css" media="screen" charset="utf-8" />
		<![endif]-->
        <style type="text/css">

            .erro { color: red !important; }

        </style>
        <meta name="google-site-verification" content="dmuGmTVtiuVDkg7EYF3h43EeYwbY2d243w8Fbb77V-M" />
    </head>

<body>
    <!-- INICIO DO TOPO -->
<div style="" class="compras_topo_site_fundo">
	<div style="" class="compras_topo_site_centro">
    	<div class="compras_topo_site_centro_a">
       	<div class="compras_topo_site_centro_a1">&nbsp;</div>
    
            <?php $logo = array('src'=>'images/logo.png', 'style'=>'border:0px;');
                echo anchor("home",img($logo)); ?>
         
        </div>
    	<div class="compras_topo_site_centro_b">
        	<div class="compras_topo_site_centro_b1">&nbsp;</div>
        	<div class="compras_topo_site_centro_b2">
				<div class="compras_topo_site_centro_b2a"> <?php $img=array('src'=>"images/top_como.png", 'width'=>"99",'height'=>"18",'alt'=>"s",'border'=>"0" , 'onMouseOver'=>"this.src ='".site_url('images/top_como_o.png')."'", 'onMouseOut'=>"this.src ='".site_url('images/top_como.png')."'"); echo img($img); ?></div>
				<div class="compras_topo_site_centro_b2b"> <?php $img=array('src'=>"images/top_fale.png",'width'=>"84",'height'=>"18",'border'=>"0" , 'onMouseOver'=>"this.src ='".site_url('images/top_fale_o.png')."'", 'onMouseOut'=>"this.src ='".site_url('images/top_fale.png')."'"); echo anchor("diversos/fale_conosco", img($img));?></div>
				<div class="compras_topo_site_centro_b2c"><?php $img=array('src'=>"images/top_quem.png",'width'=>"82",'height'=>"18",'border'=>"0" , 'onMouseOver'=>"this.src ='".site_url('images/top_quem_o.png')."'", 'onMouseOut'=>"this.src ='".site_url('images/top_quem.png')."'"); echo img($img); ?></div>
				<div class="compras_topo_site_centro_b2d"><?php $img=array('src'=>"images/top_seja.png",'width'=>"120",'height'=>"18",'border'=>"0" , 'onMouseOver'=>"this.src ='".site_url('images/top_seja_o.png')."'",'onMouseOut'=>"this.src ='".site_url('images/top_seja.png')."'"); echo anchor("all/a_fornecedor/cadastro_previo", img($img)); ?></div>
				<div class="compras_topo_site_centro_b2e"><?php $img=array('src'=>"images/top_termo.png",'width'=>"96",'height'=>"18",'border'=>"0" , 'onMouseOver'=>"this.src ='".site_url('images/top_termo_o.png')."'", 'onMouseOut'=>"this.src ='".site_url('images/top_termo.png')."'"); echo img($img); ?>   </div>
                <br clear="left" />    
        
            </div>            
        </div>
    	<div class="compras_topo_site_centro_c">
        	<div class="compras_topo_site_centro_c1">&nbsp;</div>
            <?php echo login_box();?>
        </div>    
        <br clear="left" />
    </div>
</div>



    <!-- FIM DO TOPO -->

    <!-- INICIO NAVEGACAO -->
	<div class="compras_conteudo">
            <div class="compras_nav">
	<div class="compras_nav1">&nbsp;</div>
	<div class="compras_nav2">&nbsp;</div>
	<div class="compras_nav3">
        <form id="busca" action="<?php echo site_url("all/a_produto/busca"); ?>" method="post"><input type="text" name="busca" id="contrucao_buscar"  value=" &nbsp;Encontre no site"  onblur="if(this.value == '') {this.value = ' &nbsp;Encontre no site';}"  onfocus="if(this.value == ' &nbsp;Encontre no site') {this.value = '';}"  />
        &nbsp;&nbsp;&nbsp;<input type="submit" name="contrucao_buscar_botao" id="contrucao_buscar_botao" value="" /></form>
    </div>
	<div class="compras_nav4">&nbsp;</div>   
    <br clear="left" />
</div>
            <div class="compras_conteudo_wrap_topo">&nbsp;</div>
                <div class="compras_conteudo_wrap">
	
<!-- FIM NAVEGACAO -->






<!-- ININCIO DA BARRA LATERAL ESQUERDA -->


        <div class="compras_conteudo_esquerda">
			<div class="compras_conteudo_esquerda_tudo">&nbsp;&nbsp;&nbsp;
            	<?php $img = array ('src' => "images/compre_por_categoria.png", 'style' => "margin-bottom:4px;"); echo img($img); ?>
        	  <ul id="nav"> <!-- Inicio do Menu lateral ul id="nav" -->
                    <?php
                    $CI = &get_instance();
                    $CI->load->model("CategoriaModel");
                    $CI->load->helper("auth_helper");
                    $categorias = $CI->CategoriaModel->getCategoriaNivel(0);
                    imprime_menu($categorias->result());

                    ?>
             
			</div> <!-- Fecha DIV class="compras_conteudo_esquerda_tudo" -->
            <br /><br /><br /><br />
            <div class="dicas">
				<?php echo img("images/dicas_da_construcao.png"); ?>
				<br /><br />
                <a>&nbsp;&nbsp;• Ventilação na cozinha;</a><br />
				<a>&nbsp;&nbsp;• Acabamentos para portas de madeira;</a><br />
                <a>&nbsp;&nbsp;• Colocação de calhas;</a><br />
                <a>&nbsp;&nbsp;• Churrasqueiras;</a><br />
                <a>&nbsp;&nbsp;• Pintura texturizada.</a><br />
                <br />
                <a>&nbsp;&nbsp;Mais dicas +</a><br />
			</div>
			<div class="news">
				<?php echo img("images/newsletter.png"); ?>
                <br />Cadastre-se e receba ofertas e notícias por e-mail
                   <form id="form1" name="form1" method="post" action=<?php echo site_url("all/a_newsletter/cadastrar");?>>
					<label for="newsletter" style="visibility:hidden">buscar</label>
					<input type="text" name="email" id="news_buscar" value="E-mail" style="margin-bottom:6px; margin-left:7px; font-family:Arial, Helvetica, sans-serif; color:#6D6E70;"  onblur="if(this.value == '') {this.value = 'E-mail';}"  onfocus="if(this.value == 'E-mail') {this.value = '';}" />
					<input type="text" name="nome" id="news_buscar" value="Nome"  style="margin-bottom:5px; margin-left:7px;  font-family:Arial, Helvetica, sans-serif; color:#6D6E70;"  onblur="if(this.value == '') {this.value = 'Nome';}"  onfocus="if(this.value == 'Nome') {this.value = '';}"  />
					<input type="submit" name="news_submit_botao" id="news_buscar_botao" value="" style="margin-bottom:3px; margin-left:7px;" />
				</form>
			</div> <!-- Fecha DIV class="news" --->
        </div><!-- Fecha DIV class="compras_conteudo_esquerda"-->
<!-- FIM DA BARRA LATERAL ESQUERDA -->

<!-- INICIO DO CONTEUDO CENTRAL -->
		<div class="compras_conteudo_centro">
		<?php  $this->load->view("menu/".tipo_usuario()."_menu_view"); ?>
        <div class="compras_conteudo_centro_centro">